﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutNVTiepTan.cshtml";
}

<h2>Index</h2>

<div>
    <h1>Danh sách đặt phòng</h1>
    @using (Html.BeginForm("RoomArrange", "NVTiepTan"))
    {
        <select id="DSMaDP" name="maDP">
            @{foreach (var DP in ViewBag.DP)
              {
                <option value="@DP.maDatPhong">@DP.maDatPhong</option>
              }
            }
        </select>
        <div id="TT"></div>
        <input type="submit" value="Sắp xếp phòng đặt">
    }

</div>
